/*!
    \file  netconf.h
    \brief the header file of netconf 
*/

/*
    Copyright (C) 2016 GigaDevice

    2016-10-19, V1.0.0, demo for GD32F4xx
*/

#ifndef NETCONF_H
#define NETCONF_H

#include "../main.h"

#ifdef USE_DHCP
void lwip_dhcp_process_handle(void);
#endif /* USE_DHCP */

void lwip_stack_init(void);

void lwip_pkt_handle(void);

void lwip_periodic_handle(__IO uint32_t localtime);

void netconf_switch_mode(uint32_t dhcp_enabled);

#endif /* NETCONF_H */
